<%-- 
    Document   : LetrasPendientes
    Created on : 22/09/2010, 07:26:15 PM
    Author     : Administrador
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<f:view>
<%@include file="../WEB-INF/jspf/html_inicio.jspf" %>
    <%@include file="../WEB-INF/jspf/cabecera.jspf" %>
    <%@include file="../WEB-INF/jspf/navbar.jspf" %>
    <%@include file="../WEB-INF/jspf/cuadro_inicio.jspf" %>
    <%@include file="../WEB-INF/jspf/menu_principal.jspf" %>
    <%@include file="../WEB-INF/jspf/cuadro_medio.jspf" %>
    <%@include file="../WEB-INF/jspf/bloque_inicio.jspf" %>

    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
            <title>Lista de Letras Pendientes</title>
            <link rel=stylesheet type="text/css" href="/edu.upn.sigeadmi.cxc-war/style.css">
           
        </head>
        <body>
              

<h3><h:outputText value="Letras Pendientes "/></h3>
<h:form>
                       <br/>

                       <h:dataTable id="tblLetrasPendientes"   var="item" value="#{LetraPendientePagoController.letraPendientes}"
                     border="1" cellpadding="0" cellspacing="0"
                     headerClass="headerAlignment"
columnClasses="Columnauno"

                     >
                <h:column>
                    <f:facet name="header"> <h:outputText value="Código Letra"> </h:outputText></f:facet>
                    <h:outputText value="#{item.pkLetraPendientePago}" />
                </h:column>

                <h:column>
                    <f:facet name="header"> <h:outputText value="Nº Serie"> </h:outputText></f:facet>
                    <h:outputText  value="#{item.serie}" />
                </h:column>

                <h:column>
                    <f:facet name="header"> <h:outputText value="Valor"> </h:outputText></f:facet>
                    <h:outputText  value="#{item.valor}" />
                </h:column>

                <h:column>
                    <f:facet name="header"> <h:outputText value="Fecha Vencimiento "> </h:outputText></f:facet>
                    <h:outputText  value="#{item.fechaVcmto}" />
                </h:column>

                <h:column>
                    <f:facet name="header"> <h:outputText value="Estado Letra"> </h:outputText></f:facet>
                    <h:outputText  value="#{item.fkCxcEstadoLtra.nombre}" />
                </h:column>
                

                <h:column>
                        <f:facet name="header"></f:facet>
                        <h:commandButton id="btnEditar" image="/RegPago/IMGS/Editar.png" value="Editar" action="#{LetraPendientePagoController.editar}">
                            <f:setPropertyActionListener value="#{item}" target="#{LetraPendientePagoController.letraPendientePago}" />
                        </h:commandButton>
                    </h:column>
                    <h:column>
                        <f:facet name="header"></f:facet>
                        <h:commandButton id="btnEliminar" image="/RegPago/IMGS/Borra.png" value="Eliminar" action="#{LetraPendientePagoController.eliminar}">
                            <f:setPropertyActionListener value="#{item}" target="#{LetraPendientePagoController.letraPendiente}" />
                        </h:commandButton>
                    </h:column>
                    <h:column>
                        <f:facet name="header"></f:facet>
                        <h:commandButton id="btnMostrar" image="/RegPago/IMGS/Mostrar.png" value="Mostrar" action="#{LetraPendientePagoController.mostrar}">
                            <f:setPropertyActionListener value="#{item}" target="#{LetraPendientePagoController.letraPendientePago}" />
                        </h:commandButton>
                    </h:column>


            </h:dataTable>
              </h:form>
                      
                    
<br  />
 <div class="centrar">
            <a href="#"><img src="/edu.upn.sigeadmi.cxc-war/img/logo_ta_resize.png" border="0"/></a>
        </div>

                            <%@include file="../WEB-INF/jspf/bloque_fin.jspf" %>
    <%@include file="../WEB-INF/jspf/cuadro_fin.jspf" %>
    <%@include file="../WEB-INF/jspf/pie.jspf" %>
    <%@include file="../WEB-INF/jspf/html_fin.jspf" %> 

        </body>
    
    </html>
</f:view>